package cn.yunhe.entity;

import java.io.Serializable;


/**
 * Created by Administrator on 2018/5/22.
 */
public class Class implements Serializable {
    private int class_id;
    private Prof prof;
    private String class_name;
    private int class_count;

    public Class() {
        super();
    }

    public Class(int class_id, Prof prof, String class_name, int class_count) {
        this.class_id = class_id;
        this.prof = prof;
        this.class_name = class_name;
        this.class_count = class_count;
    }

    public int getClass_id() {
        return class_id;
    }

    public void setClass_id(int class_id) {
        this.class_id = class_id;
    }

    public Prof getProf() {
        return prof;
    }

    public void setProf(Prof prof) {
        this.prof = prof;
    }

    public String getClass_name() {
        return class_name;
    }

    public void setClass_name(String class_name) {
        this.class_name = class_name;
    }

    public int getClass_count() {
        return class_count;
    }

    public void setClass_count(int class_count) {
        this.class_count = class_count;
    }

    @Override
    public String toString() {
        return "Class{" +
                "class_count=" + class_count +
                ", class_id=" + class_id +
                ", prof=" + prof +
                ", class_name='" + class_name + '\'' +
                '}';
    }
}
